package com.ruoyi.cinema.service;

import java.util.List;
import com.ruoyi.cinema.domain.GoodsCategory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 卖品分类Service接口
 *
 * @author HHAOYU
 * @date 2020-12-09
 */
public interface IGoodsCategoryService  extends IService<GoodsCategory> {

    /**
     * 查询卖品分类
     *
     * @param id 卖品分类ID
     * @return 卖品分类
     */
    public GoodsCategory selectGoodsCategoryById(Long id);

    /**
     * 查询卖品分类列表
     *
     * @param goodsCategory 卖品分类
     * @return 卖品分类集合
     */
    public List<GoodsCategory> selectGoodsCategoryList(GoodsCategory goodsCategory);

    /**
     * 新增卖品分类
     *
     * @param goodsCategory 卖品分类
     * @return 结果
     */
    public int insertGoodsCategory(GoodsCategory goodsCategory);

    /**
     * 修改卖品分类
     *
     * @param goodsCategory 卖品分类
     * @return 结果
     */
    public int updateGoodsCategory(GoodsCategory goodsCategory);

    /**
     * 批量删除卖品分类
     *
     * @param ids 需要删除的卖品分类ID
     * @return 结果
     */
    public int deleteGoodsCategoryByIds(Long[] ids);

    /**
     * 删除卖品分类信息
     *
     * @param id 卖品分类ID
     * @return 结果
     */
    public int deleteGoodsCategoryById(Long id);
}
